import { Card, Tabs } from 'antd';
import { PageContainer } from '@ant-design/pro-layout';
import DealTableList from './components/DealTableList';
import  ApprovalTableList from './components/ApprovalTableList'

const { TabPane } = Tabs;

export default () => (
    <PageContainer>
        <Card>
        <Tabs defaultActiveKey="1" >
            <TabPane tab="待审批" key="1">
               <DealTableList />
            </TabPane>
            <TabPane tab="已审批" key="2">
               <ApprovalTableList />
            </TabPane>
        </Tabs>
        </Card>
    </PageContainer>
);
